package framework.view.components.container
{
import flash.events.Event;

import framework.proxy.ComponentProxy;

/**
 * RepeaterRenderProxy
 * @author jliang
 * 
 */
public class RepeaterRenderProxy extends ComponentProxy implements IRenderProxy
{
	//==========================================================================
	//  Constructor
	//==========================================================================
	public function RepeaterRenderProxy()
	{
		super();
	}
	//==========================================================================
	//  Properties
	//==========================================================================
	public function set data(value:*):void
	{
	}
	
	public function get data():*
	{
		return null;
	}
	
	public function set index(value:int):void
	{
	}
	
	public function get index():int
	{
		return 0;
	}
	
	public function set selected(value:Boolean):void
	{
	}
	
	public function get selected():Boolean
	{
		return false;
	}
	//==========================================================================
	//  Public methods
	//==========================================================================
	public function show():void
	{
		skin.visible = skin.mouseEnabled = true;
	}
	
	public function hide():void
	{
		skin.visible = skin.mouseEnabled = false;
	}
	//==========================================================================
	//  Protected methods
	//==========================================================================	
	protected function select():void
	{
		skin.dispatchEvent(new Event(Event.SELECT));
	}
}
}


